<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/12/10
 * Time: 21:35
 */

namespace app\common\controller;

class MemberBase extends Base
{
    public function __construct()
    {
        parent::__construct();
        $leftMenu = [
            [
                'name'    => '我的订单',
                'url'     => '',
                'icon'    => 'fa-credit-card',
                'active'  => '',
                'subMenu' => [
                    [
                        'name'   => '未收货',
                        'url'    => url('index/index2'),
                        'icon'   => 'fa-caret-right',
                        'active' => '',
                    ],
                    [
                        'name'   => '待发货',
                        'url'    => url('index/index2'),
                        'icon'   => 'fa-caret-right',
                        'active' => '',
                    ],
                ],
            ],
            [
                'name'    => '我的资料',
                'url'     => '',
                'icon'    => 'fa-users',
                'active'  => '',
                'subMenu' => [
                    [
                        'name'   => '未收货',
                        'url'    => url('index/index2'),
                        'icon'   => 'fa-caret-right',
                        'active' => '',
                    ],
                    [
                        'name'   => '待发货',
                        'url'    => url('index/index2'),
                        'icon'   => 'fa-caret-right',
                        'active' => '',

                    ],
                ],
            ],
            [
                'name'   => '我的订单22',
                'url'    => '',
                'icon'   => 'fa-credit-card',
                'active' => '',

            ],
        ];

        $this->assign('leftMenu', $leftMenu);
    }
}